package xyz.second.database.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 老师表
 * </p>
 *
 * @author qjw
 * @since 2021-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("teacher")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 老师编号
     */
    @TableId(value = "teacher_id", type = IdType.AUTO)
    private Integer teacherId;

    /**
     * 老师姓名
     */
    @TableField("teacher_name")
    private String teacherName;

    /**
     * 老师身份证
     */
    @TableField("teacher_idcard")
    private String teacherIdcard;

    /**
     * 老师性别   女:0 男:1
     */
    @TableField("teacher_sex")
    private Integer teacherSex;

    /**
     * 老师职位
     */
    @TableField("teacher_positon")
    private String teacherPositon;

    /**
     * 学院id
     */
    @TableField("college_id")
    private Integer collegeId;

    /**
     * 老师密码
     */
    @TableField("teacher_password")
    private String teacherPassword;

    /**
     * 老师头像
     */
    @TableField("teacher_logo")
    private String teacherLogo;

    /**
     * 老师账号状态  0:有效 1:无效
     */
    @TableField("teacher_state")
    private Integer teacherState;

    /**
     * 老师电话
     */
    @TableField("teacher_tell")
    private String teacherTell;


}
